Relation

enum Relation : Enum<Relation>

The relationship between two calendar values.

There are 13 possible ways in which two values may be related to each other.

See: Allen's Interval

Entries

Link copied to clipboard

The first and second ranges start and end together.

Link copied to clipboard

The first range starts before the second range starts, and ends with the second range.

Link copied to clipboard

The first range starts after the second range starts, and ends with the second range.

Link copied to clipboard

The first range starts before the second range starts, and ends after the second range ends.

Link copied to clipboard

The first range starts after the second range starts, and ends before the second range ends.

Link copied to clipboard

The first range starts where the second range starts, and ends after the second range ends.

Link copied to clipboard

The first range starts where the second range starts, and ends before the second range ends.

Link copied to clipboard

The first range starts after the second range starts, and ends after the second range ends.

Link copied to clipboard

The first range starts before the second range starts, and ends before the second range ends.

Link copied to clipboard

The first range starts where the second range ends.

Link copied to clipboard

The first range ends where the second range starts.

Link copied to clipboard

The first range occurs entirely after the second range.

Link copied to clipboard

The first range occurs entirely before the second range.

Properties

Link copied to clipboard
val isDisjoint: Boolean
Link copied to clipboard
val isEqual: Boolean
Link copied to clipboard
val isMeeting: Boolean
Link copied to clipboard
val isOverlapping: Boolean
Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int